home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
256pb2
/
dibutil.h
< prev
next >
Wrap
Text File
|
1992-03-11
|
875b
|
32 lines
// Some macros.
#define RECTWIDTH(lpRect) ((lpRect)->right - (lpRect)->left)
#define RECTHEIGHT(lpRect) ((lpRect)->bottom - (lpRect)->top)
#define SWAP(x,y) ((x)^=(y)^=(x)^=(y))
// String Defines
#define IDS_PROGNAME 0
#define IDS_WINBMP 1
#define IDS_PMBMP 2
#define IDS_OPENDLG 3
#define IDS_SAVEDLG 4
#define IDS_FILEOPEN 5
#define IDS_FILESAVE 6
#define IDS_RGB 7
#define IDS_PM 8
#define IDS_RLE4 9
#define IDS_RLE8 10
#define IDS_1 11
#define IDS_4 12
#define IDS_8 13
#define IDS_24 14
#define IDS_PASTE 15
#define IDS_CAPTURE 16 // Window title for captured window
// Global variables.
HANDLE hInst; // Handle to this instance